package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.skuvo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author HX
 * @email 1624242879@qq.com
 * @date 2021-01-17 20:55:42
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //保存全部信息
    void saveSpuInfo(SpuSaveVo spuSaveVo);

    //spu检索
    PageUtils queryPageAllspuinfoById(Map<String, Object> params);
   ////商品上架
    void up(Long spuId);
}

